emacs.git
14 years ago(custom-guess-name-alist): -alist variables should use the `alist' type.
Lars Magne Ingebrigtsen [Mon, 11 Jul 2011 14:57:15 +0000 (16:57 +0200)]
(custom-guess-name-alist): -alist variables should use the `alist' type.

Suggested by Drew Adams.

14 years ago* printing.el: Add documentation to all the `pr-toggle-' commands.
Lars Magne Ingebrigtsen [Mon, 11 Jul 2011 14:52:48 +0000 (16:52 +0200)]
* printing.el: Add documentation to all the `pr-toggle-' commands.

14 years ago(Display Feature Testing): Try to explain what all the visual classes mean
Lars Magne Ingebrigtsen [Mon, 11 Jul 2011 14:35:46 +0000 (16:35 +0200)]
(Display Feature Testing): Try to explain what all the visual classes mean

14 years agoOnly do the `C-x C-q' warning on VC backends where it makes sense.
Leo [Mon, 11 Jul 2011 13:56:49 +0000 (15:56 +0200)]
Only do the `C-x C-q' warning on VC backends where it makes sense.

14 years ago(dired-guess-shell-alist-user): Clarify the example a bit
Lars Magne Ingebrigtsen [Mon, 11 Jul 2011 13:46:46 +0000 (15:46 +0200)]
(dired-guess-shell-alist-user): Clarify the example a bit

14 years ago(dired-guess-default): Fix grammar in doc string
Lars Magne Ingebrigtsen [Mon, 11 Jul 2011 13:38:58 +0000 (15:38 +0200)]
(dired-guess-default): Fix grammar in doc string

14 years agoFix syntax error in last checkin.
Lars Magne Ingebrigtsen [Mon, 11 Jul 2011 13:36:54 +0000 (15:36 +0200)]
Fix syntax error in last checkin.

14 years ago(dired-guess-default): Remove duplicate shell command entries.
Lars Magne Ingebrigtsen [Mon, 11 Jul 2011 13:34:35 +0000 (15:34 +0200)]
(dired-guess-default): Remove duplicate shell command entries.

14 years agoAdd a new, simple definition of `remove-duplicates'
Lars Magne Ingebrigtsen [Mon, 11 Jul 2011 13:33:05 +0000 (15:33 +0200)]
Add a new, simple definition of `remove-duplicates'

14 years agoUpdate Killing chapter of manual for Emacs 24 clipboard changes.
Chong Yidong [Mon, 11 Jul 2011 03:38:49 +0000 (23:38 -0400)]
Update Killing chapter of manual for Emacs 24 clipboard changes.

* doc/emacs/frames.texi: Move Cut and Paste node and subnodes into
killing.texi, except Mouse Commands and Word and Line Mouse.

* doc/emacs/killing.texi (Killing, Deletion and Killing, Killing by Lines)
(Other Kill Commands, Kill Options): Copyedits.
(Deletion and Killing, Kill Ring): Kill/yank now use clipboard.
(Yanking): Move yank-excluded properties discussion here.
(Cut and Paste): Move from frames.texi.  Update subnodes to
describe x-select-enable-clipboard case.

14 years ago* mh-e.el (Version, mh-version): Update for release 8.2.90.
Bill Wohler [Sun, 10 Jul 2011 23:09:22 +0000 (16:09 -0700)]
* mh-e.el (Version, mh-version): Update for release 8.2.90.

14 years ago* NEWS, MH-E-NEWS: Update for MH-E release 8.2.90.
Bill Wohler [Sun, 10 Jul 2011 23:06:43 +0000 (16:06 -0700)]
* NEWS, MH-E-NEWS: Update for MH-E release 8.2.90.

14 years ago* mh-utils.el (mh-sub-folders-actual): Remove FIXME question.
Bill Wohler [Sun, 10 Jul 2011 22:33:06 +0000 (15:33 -0700)]
* mh-utils.el (mh-sub-folders-actual): Remove FIXME question.

14 years ago* mh-mime.el (mh-decode-message-subject): Fix case of Subject.
Bill Wohler [Sun, 10 Jul 2011 22:31:33 +0000 (15:31 -0700)]
* mh-mime.el (mh-decode-message-subject): Fix case of Subject.

14 years agognus-group.el (gnus-read-ephemeral-emacs-bug-group): `debbugs-*' renamed to `debbugs...
Lars Magne Ingebrigtsen [Sun, 10 Jul 2011 22:17:49 +0000 (22:17 +0000)]
gnus-group.el (gnus-read-ephemeral-emacs-bug-group): `debbugs-*' renamed to `debbugs-gnu-*'.

14 years ago* src/xdisp.c (Ftool_bar_lines_needed): Fix WINDOWP check.
Johan Bockgård [Sun, 10 Jul 2011 21:49:05 +0000 (23:49 +0200)]
* src/xdisp.c (Ftool_bar_lines_needed): Fix WINDOWP check.

14 years agoFix building doc/emacs on MS-Windows.
Andy Moreton [Sun, 10 Jul 2011 18:35:59 +0000 (21:35 +0300)]
Fix building doc/emacs on MS-Windows.

 doc/emacs/makefile.w32-in (EMACSSOURCES): Replace major.texi with modes.texi.

14 years ago* xmenu.c (menu_highlight_callback): Only pass frame to show_help_event
Jan D. [Sun, 10 Jul 2011 16:55:22 +0000 (18:55 +0200)]
* xmenu.c (menu_highlight_callback): Only pass frame to show_help_event
for non-popups.

14 years ago* mh-folder.el (mh-inc-folder, mh-modify, mh-scan-folder)
Bill Wohler [Sun, 10 Jul 2011 16:23:40 +0000 (09:23 -0700)]
* mh-folder.el (mh-inc-folder, mh-modify, mh-scan-folder)
(mh-make-folder): Replace calls to switch-to-buffer with of
pop-to-buffer. The former is intended for interactive use only and
generates warnings in Emacs 24.

14 years ago(Mode Line Variables): Document `mode-line-remote' and `mode-line-client'
Lars Magne Ingebrigtsen [Sun, 10 Jul 2011 15:12:36 +0000 (17:12 +0200)]
(Mode Line Variables): Document `mode-line-remote' and `mode-line-client'

14 years ago(Mode Line): Clarify that coding systems are characters, not letters.
Lars Magne Ingebrigtsen [Sun, 10 Jul 2011 14:40:21 +0000 (16:40 +0200)]
(Mode Line): Clarify that coding systems are characters, not letters.

14 years ago(Insertion): Clarify marker movements.
Lars Magne Ingebrigtsen [Sun, 10 Jul 2011 14:32:19 +0000 (16:32 +0200)]
(Insertion): Clarify marker movements.

Text from Drew Adams.

14 years ago(Environment): Mention removing variables
Lars Magne Ingebrigtsen [Sun, 10 Jul 2011 14:29:19 +0000 (16:29 +0200)]
(Environment): Mention removing variables

Text suggested by Kevin Rodgers.

14 years ago(tool-bar-mode): Clarify positive/negative arguments
Lars Magne Ingebrigtsen [Sun, 10 Jul 2011 14:09:05 +0000 (16:09 +0200)]
(tool-bar-mode): Clarify positive/negative arguments

14 years agoRevert last change of display-buffer-normalize-default.
martin rudalics [Sun, 10 Jul 2011 12:41:47 +0000 (14:41 +0200)]
Revert last change of display-buffer-normalize-default.

14 years agoDon't invert meaning of even-window-heights in display-buffer-normalize-default.
martin rudalics [Sun, 10 Jul 2011 10:19:47 +0000 (12:19 +0200)]
Don't invert meaning of even-window-heights in display-buffer-normalize-default.

* window.el (display-buffer-normalize-default): Don't invert
meaning of even-window-heights.  Reported by Eli Zaretskii
<eliz@gnu.org>.

14 years agoProtoize
Andreas Schwab [Sun, 10 Jul 2011 08:52:10 +0000 (10:52 +0200)]
Protoize

* src/alloc.c (reset_malloc_hooks): Protoize.
* src/cm.c (losecursor): Likewise.
* src/ralloc.c (r_alloc_check): Likewise.

14 years agoProtoize
Andreas Schwab [Sun, 10 Jul 2011 08:20:10 +0000 (10:20 +0200)]
Protoize

* src/buffer.c (mmap_init, mmap_find, mmap_free_1, mmap_enlarge)
(mmap_set_vars, mmap_alloc, mmap_free, mmap_realloc): Protoize.
* src/data.c (fmod): Likewise.
* src/dispnew.c (swap_glyphs_in_rows): Likewise.
* src/emacs.c (memory_warning_signal): Likewise.
* src/floatfns.c (float_error): Likewise.
* src/font.c (check_gstring, check_otf_features, otf_tag_symbol)
(otf_open, font_otf_capability, generate_otf_features)
(font_otf_DeviceTable, font_otf_ValueRecord, font_otf_Anchor):
Likewise.
* src/image.c (pbm_read_file): Likewise.
* src/indent.c (string_display_width): Likewise.
* src/intervals.c (check_for_interval, search_for_interval)
(inc_interval_count, count_intervals, root_interval)
(adjust_intervals_for_insertion, make_new_interval): Likewise.
* src/lread.c (defalias): Likewise.
* src/regex.c (set_image_of_range_1, set_image_of_range)
(regex_grow_registers): Likewise.
* src/sysdep.c (strerror): Likewise.
* src/termcap.c (valid_filename_p, tprint, main): Likewise.
* src/tparam.c (main): Likewise.
* src/unexhp9k800.c (run_time_remap, save_data_space)
(update_file_ptrs, read_header, write_header, calculate_checksum)
(copy_file, copy_rest, display_header): Likewise.
* src/widget.c (mark_shell_size_user_specified, create_frame_gcs):
Likewise.
* src/xdisp.c (check_it): Likewise.
* src/xfaces.c (register_color, unregister_color, unregister_colors):
Likewise.
* src/xfns.c (print_fontset_result): Likewise.
* src/xrdb.c (member, fatal, main): Likewise.

14 years agoMerge: Fix minor problems found by static checking (Bug#9031).
Paul Eggert [Sun, 10 Jul 2011 05:12:16 +0000 (22:12 -0700)]
Merge: Fix minor problems found by static checking (Bug#9031).

14 years agoFix ChangeLog to reflect merge better.
Paul Eggert [Sun, 10 Jul 2011 04:58:22 +0000 (21:58 -0700)]
Fix ChangeLog to reflect merge better.

14 years agoMerge from trunk.
Paul Eggert [Sun, 10 Jul 2011 04:54:04 +0000 (21:54 -0700)]
Merge from trunk.

14 years ago* doc/emacs/misc.texi (Amusements): Don't mention Yow; it's crippled.
Chong Yidong [Sun, 10 Jul 2011 04:12:48 +0000 (00:12 -0400)]
* doc/emacs/misc.texi (Amusements): Don't mention Yow; it's crippled.

14 years agoMove Minor Modes node of Emacs manual next to the Major Modes node
Chong Yidong [Sun, 10 Jul 2011 04:05:33 +0000 (00:05 -0400)]
Move Minor Modes node of Emacs manual next to the Major Modes node
and out of the Customizations chapter.

* doc/emacs/modes.texi: Rename from major.texi.
(Modes): New node.  Make Major Modes and Minor Modes subsections
of this.  All callers changed.

* doc/emacs/custom.texi (Minor Modes): Move to modes.texi.

14 years agoRemove Syntax node from Emacs manual.
Chong Yidong [Sun, 10 Jul 2011 03:11:47 +0000 (23:11 -0400)]
Remove Syntax node from Emacs manual.
This node served no purpose in the Customization section.

* doc/emacs/custom.texi (Syntax): Node deleted.

* doc/emacs/emacs.texi (Top): Update node listing.

* doc/emacs/help.texi (Help Summary):
* doc/emacs/major.texi (Major Modes):
* doc/emacs/programs.texi (Parentheses):
* doc/emacs/search.texi (Regexp Backslash, Regexp Backslash)
(Regexp Backslash):
* doc/emacs/text.texi (Words): Callers changed.

14 years agoRemove documentation for Refill and Longlines modes.
Chong Yidong [Sun, 10 Jul 2011 02:38:26 +0000 (22:38 -0400)]
Remove documentation for Refill and Longlines modes.
These will be obsoleted in a future version of Emacs.

* text.texi (Refill, Longlines): Delete nodes.

* ack.texi (Acknowledgments): Longlines removed from manual.

* emacs.texi (Top): Update node listing.

14 years agoFix last change.
Chong Yidong [Sun, 10 Jul 2011 02:06:09 +0000 (22:06 -0400)]
Fix last change.

14 years agoTweak link and startup screen faces.
Chong Yidong [Sun, 10 Jul 2011 02:04:45 +0000 (22:04 -0400)]
Tweak link and startup screen faces.

See http://lists.gnu.org/archive/html/emacs-devel/2011-07/msg00478.html
for a discussion of the link face.  The changes to the startup faces
are so that they can take advantage of the light/dark background
settings already defined for those faces.

* lisp/faces.el (link): Use a less saturated blue on light backgrounds.

* lisp/startup.el (fancy-startup-text, fancy-about-text)
(fancy-startup-tail): Use font-lock faces, for background safety.

14 years ago* vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
Bob Rogers [Sun, 10 Jul 2011 01:42:39 +0000 (21:42 -0400)]
* vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).

14 years agoFix incorrect args to display-buffer-reuse-window in revno 105058.
Chong Yidong [Sun, 10 Jul 2011 01:40:32 +0000 (21:40 -0400)]
Fix incorrect args to display-buffer-reuse-window in revno 105058.

* lisp/window.el (display-buffer): Fix arguments to
display-buffer-reuse-window in last change.

14 years ago* lib/stdint.in.h: Merge from gnulib (Bug#9025).
Paul Eggert [Sat, 9 Jul 2011 22:03:22 +0000 (15:03 -0700)]
* lib/stdint.in.h: Merge from gnulib (Bug#9025).

This fixes a build problem on older Mac OS X hosts.

14 years agoDocument "ignored" arguments to keep checkdoc happy.
Bill Wohler [Sat, 9 Jul 2011 20:25:54 +0000 (13:25 -0700)]
Document "ignored" arguments to keep checkdoc happy.

* mh-speed.el (mh-speed-toggle,mh-speed-view): Ditto
* mh-search.el (mh-flists-execute): Ditto.
* mh-funcs.el (mh-undo-folder): Ditto.
* mh-comp.el (mh-user-agent-compose): Ditto.

14 years ago* mh-xface.el (mh-face-to-png, mh-uncompface)
Bill Wohler [Sat, 9 Jul 2011 20:19:10 +0000 (13:19 -0700)]
* mh-xface.el (mh-face-to-png, mh-uncompface)
(mh-picon-file-contents): Only call set-buffer-multibyte if it exists,
which it doesn't in XEmacs.

14 years agoLimit triggering of abbrev expansion in viper-mode (Bug#9038)
Bob Nnamtrop [Sat, 9 Jul 2011 19:32:42 +0000 (15:32 -0400)]
Limit triggering of abbrev expansion in viper-mode (Bug#9038)

* lisp/emulation/viper-cmd.el (viper-change-state-to-vi): Limit
triggering of abbrev expansion.

14 years agoRemove duplicate ChangeLog entry.
Glenn Morris [Sat, 9 Jul 2011 18:12:29 +0000 (11:12 -0700)]
Remove duplicate ChangeLog entry.

14 years agosrc/chartab.c (uniprop_table_uncompress): Remove unused local variable.
Juanma Barranquero [Sat, 9 Jul 2011 13:58:09 +0000 (15:58 +0200)]
src/chartab.c (uniprop_table_uncompress): Remove unused local variable.

14 years agoSimplify normalization of default buffer display specifieres and options.
martin rudalics [Sat, 9 Jul 2011 12:32:38 +0000 (14:32 +0200)]
Simplify normalization of default buffer display specifieres and options.

* window.el (display-buffer-default-specifiers): Remove.
(display-buffer-macro-specifiers): Remove default specifiers.
(display-buffer-alist): Default to nil.
(display-buffer-reuse-window): New optional argument
other-window.
(display-buffer-pop-up-window): Allow splitting internal
windows.  Check whether a live window was created.
(display-buffer-other-window-means-other-frame)
(display-buffer-normalize-arguments): Rename to
display-buffer-normalize-argument and rewrite.  Set the
other-window specifier.
(display-buffer-normalize-special): New function.
(display-buffer-normalize-options): Rename to
display-buffer-normalize-default and rewrite.
(display-buffer-normalize-options-inhibit): Remove.
(display-buffer-normalize-specifiers): Rewrite.
(display-buffer): Process other-window specifier and call
display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
more faithfully.
(pop-up-windows, even-window-heights): Restore Emacs 23 default
values.
(display-buffer-alist-set): Don't handle 'unset default values.
(display-buffer-in-window, display-buffer-alist-set): Replace
symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
<tassilo@member.fsf.org>.

14 years ago* lib-src/update-game-score.c (usage): Update usage line.
Andreas Schwab [Sat, 9 Jul 2011 10:32:42 +0000 (12:32 +0200)]
* lib-src/update-game-score.c (usage): Update usage line.

14 years agoAuto-commit of generated files.
Glenn Morris [Sat, 9 Jul 2011 10:18:57 +0000 (06:18 -0400)]
Auto-commit of generated files.

14 years ago* m4/pthread_sigmask.m4 (gl_FUNC_PTHREAD_SIGMASK): Omit gl_THREADLIB
Paul Eggert [Sat, 9 Jul 2011 08:56:25 +0000 (01:56 -0700)]
* m4/pthread_sigmask.m4 (gl_FUNC_PTHREAD_SIGMASK): Omit gl_THREADLIB

test, which runs afoul of Automake installations where, for example,
/usr/share/aclocal contains a copy of gl_THREADLIB.
Problem reported by Sven Joachim in
<http://lists.gnu.org/archive/html/emacs-devel/2011-07/msg00529.html>.
This is just a quick temporary fix, specific to Emacs; I'll work
with the other gnulib maintainers to get a more-permanent fix.

14 years ago* gtkutil.c (qttip_cb): Remove code without function.
Jan D. [Sat, 9 Jul 2011 07:59:22 +0000 (09:59 +0200)]
* gtkutil.c (qttip_cb): Remove code without function.

14 years agoFix MS-Windows build broken by revision 105047.
Eli Zaretskii [Sat, 9 Jul 2011 07:00:58 +0000 (10:00 +0300)]
Fix MS-Windows build broken by revision 105047.

 src/w32.c (pthread_sigmask): New stub.

14 years agoAdd Bug#.
Paul Eggert [Sat, 9 Jul 2011 06:39:37 +0000 (23:39 -0700)]
Add Bug#.

14 years agoFix minor problems found by static checking.
Paul Eggert [Sat, 9 Jul 2011 06:28:40 +0000 (23:28 -0700)]
Fix minor problems found by static checking.

* chartab.c (char_table_set_range, map_sub_char_table)
(uniprop_table_uncompress): Remove unused locals.
(uniprop_table): Now static.
* composite.c (_work_char): Remove unused static var.
* gtkutil.c (qttip_cb): Remove stray no-effect statement.

14 years agoMerge from trunk.
Paul Eggert [Sat, 9 Jul 2011 06:26:23 +0000 (23:26 -0700)]
Merge from trunk.

14 years agoRestore accidental change to insert-register
Leo Liu [Sat, 9 Jul 2011 03:11:57 +0000 (11:11 +0800)]
Restore accidental change to insert-register

14 years ago* doc/emacs/fortran-xtra.texi (Fortran): Update handled extensions.
Glenn Morris [Sat, 9 Jul 2011 00:51:42 +0000 (20:51 -0400)]
* doc/emacs/fortran-xtra.texi (Fortran): Update handled extensions.

14 years ago* lisp/subr.el (remq): Handle the empty list. (Bug#9024)
Glenn Morris [Sat, 9 Jul 2011 00:50:01 +0000 (20:50 -0400)]
* lisp/subr.el (remq): Handle the empty list.  (Bug#9024)

14 years agoMerge: Add gnulib's strtoimax module, needed on Solaris 8.
Paul Eggert [Sat, 9 Jul 2011 00:23:12 +0000 (17:23 -0700)]
Merge: Add gnulib's strtoimax module, needed on Solaris 8.

* Makefile.in (GNULIB_MODULES): Add strtoimax.
* lib/strtoll.c, m4/strtoimax.m4, m4/strtoll.m4: New files,
automatically imported from gnulib.
* lib/gnulib.mk, m4/gl-comp.m4: Regenerate.

14 years agoAdd strtoimax module, needed for Solaris 8 port.
Paul Eggert [Sat, 9 Jul 2011 00:18:49 +0000 (17:18 -0700)]
Add strtoimax module, needed for Solaris 8 port.

* Makefile.in (GNULIB_MODULES): Add strtoimax.
* lib/strtoll.c, m4/strtoimax.m4, m4/strtoll.m4: New files,
automatically imported from gnulib.
* lib/gnulib.mk, m4/gl-comp.m4: Regenerate.

14 years agoMerge from trunk.
Paul Eggert [Fri, 8 Jul 2011 23:52:31 +0000 (16:52 -0700)]
Merge from trunk.

14 years agoFix ChangeLog typos in previous commit.
Paul Eggert [Fri, 8 Jul 2011 20:48:32 +0000 (13:48 -0700)]
Fix ChangeLog typos in previous commit.

14 years agoMerge: Use pthread_sigmask, not sigprocmask (Bug#9010).
Paul Eggert [Fri, 8 Jul 2011 20:39:30 +0000 (13:39 -0700)]
Merge: Use pthread_sigmask, not sigprocmask (Bug#9010).

14 years agoMerge from trunk.
Paul Eggert [Fri, 8 Jul 2011 20:22:17 +0000 (13:22 -0700)]
Merge from trunk.

14 years agoSimplify Emacs part of pthread_sigmask support.
Paul Eggert [Fri, 8 Jul 2011 20:20:19 +0000 (13:20 -0700)]
Simplify Emacs part of pthread_sigmask support.

* Makefile.in (GNULIB_TOOL_FLAGS): Do not avoid sigprocmask.
* configure.in (AC_TYPE_UID_T): New dummy macro.
Configure gnulib after adjusting LIBS,
so that gnulib can assume the libraries in LIBS.
* lib/pthread_sigmask.c, lib/sigprocmask.c, m4/signalblocking.m4:
New files, automatically imported from gnulib.
* lib/gnulib.mk, m4/gl-comp.m4: Regenerate.
* src/Makefile.in (LIB_PTHREAD_SIGMASK): New macro.
(LIBES): Use it.

14 years agoMerge from trunk.
Paul Eggert [Fri, 8 Jul 2011 20:14:28 +0000 (13:14 -0700)]
Merge from trunk.

14 years agoBetter fix that keeps corret margins in tooltip.
Jan D. [Fri, 8 Jul 2011 17:57:55 +0000 (19:57 +0200)]
Better fix that keeps corret margins in tooltip.

* gtkutil.c (qttip_cb): Set line wrap to FALSE for tooltip widget.
(xg_prepare_tooltip): Revert text in x->ttip_lbl, margins was
wrong.

14 years agoDon't let Gtk+ linewrap tooltips.
Jan D. [Fri, 8 Jul 2011 17:25:17 +0000 (19:25 +0200)]
Don't let Gtk+ linewrap tooltips.

* gtkutil.c (xg_prepare_tooltip): Fix indentation and comment.
Put text in x->ttip_lbl instead of gtk_tooltip_set_text.
(xg_hide_tooltip): Fix comment.

14 years ago* lisp/mail/sendmail.el (send-mail-function): No longer delay custom
Andreas Schwab [Fri, 8 Jul 2011 17:02:01 +0000 (19:02 +0200)]
* lisp/mail/sendmail.el (send-mail-function): No longer delay custom
initialization.
* lisp/custom.el (custom-initialize-delay): Doc fix.

14 years agoFix breakage introduced by fixing Bug#8842.
Jan D. [Fri, 8 Jul 2011 15:39:40 +0000 (17:39 +0200)]
Fix breakage introduced by fixing Bug#8842.

* nsfns.m (Fx_open_connection): Put NSStringPboardType into
ns_return_type.

* nsterm.m (initFrameFromEmacs): Don't use ns_return_types
in registerServicesMenuSendTypes.
(validRequestorForSendType): Don't check ns_return_types.

14 years ago* lisp/abbrev.el (expand-abbrev): Try to preserve point.
Stefan Monnier [Fri, 8 Jul 2011 14:42:36 +0000 (10:42 -0400)]
* lisp/abbrev.el (expand-abbrev): Try to preserve point.

14 years ago* net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
Michael Albinus [Fri, 8 Jul 2011 14:25:25 +0000 (16:25 +0200)]
* net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
human-friendly prompt.

14 years ago* lisp/vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
Stefan Monnier [Fri, 8 Jul 2011 14:02:44 +0000 (10:02 -0400)]
* lisp/vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
provided by a particular plugin.

14 years ago* src/w32fns.c (w32_wnd_proc) [WM_TIMER, WM_SET_CURSOR]: Avoid using
Jason Rumney [Fri, 8 Jul 2011 12:46:17 +0000 (20:46 +0800)]
* src/w32fns.c (w32_wnd_proc) [WM_TIMER, WM_SET_CURSOR]: Avoid using
frame struct members of non-existent frames.

14 years agoAuto-commit of generated files.
Glenn Morris [Fri, 8 Jul 2011 10:19:15 +0000 (06:19 -0400)]
Auto-commit of generated files.

14 years agoFix warnings in ns*m files: Replace deprecated methods, declare new interfaces.
Jan D. [Fri, 8 Jul 2011 10:04:23 +0000 (12:04 +0200)]
Fix warnings in ns*m files: Replace deprecated methods, declare new interfaces.

* emacs.c: Declare unexec_init_emacs_zone.

* nsfns.m (check_ns_display_info): Cast to long and use %ld in error
to avoid warning.

* nsimage.m (allocInitFromFile): Don't use deprecated method
bestRepresentationForDevice on OSX >= 10.6.

* nsmenu.m (fillWithWidgetValue): Don't use depercated method
sizeToFit on OSX >= 10.2.

* nsselect.m (ns_string_from_pasteboard): Don't use deprecated methods
cString and lossyCString on OSX >= 10.4

* nsterm.h (MAC_OS_X_VERSION_10_3, MAC_OS_X_VERSION_10_4)
(MAC_OS_X_VERSION_10_5): Define if not defined.
(EmacsView, EmacsTooltip): Implements NSWindowDelegate on OSX >= 10.6.
(EmacsMenu): Implements NSMenuDelegate on OSX >= 10.6.
(EmacsToolbar): Implements NSToolbarDelegate on OSX >= 10.6.

* nsterm.m (keyDown): Call to wantsToDelayTextChangeNotifications and
variable firstTime not needed on OSX >= 10.6.
(setPosition): setFloatValue:knobProportion: is deprecated on OSX
>= 10.5.  Use setKnobProportion, setDoubleValue.

14 years agoMerge from gnulib.
Paul Eggert [Fri, 8 Jul 2011 10:02:24 +0000 (03:02 -0700)]
Merge from gnulib.

14 years ago* lib/getopt.c, lib/unistd.in.h, m4/getopt.m4: Merge from gnulib.
Paul Eggert [Fri, 8 Jul 2011 10:00:52 +0000 (03:00 -0700)]
* lib/getopt.c, lib/unistd.in.h, m4/getopt.m4: Merge from gnulib.

14 years agoMerge from trunk.
Paul Eggert [Fri, 8 Jul 2011 09:38:32 +0000 (02:38 -0700)]
Merge from trunk.

14 years ago* nsgui.h: Fix compiler warning about gnulib redefining verify.
Jan D. [Fri, 8 Jul 2011 08:42:58 +0000 (10:42 +0200)]
* nsgui.h: Fix compiler warning about gnulib redefining verify.

14 years agoFix services menu empty on OSX 1.6+.
Jan D. [Fri, 8 Jul 2011 08:11:35 +0000 (10:11 +0200)]
Fix services menu empty on OSX 1.6+.

* nsfns.m (Fx_open_connection): Remove NSStringPboardType from
ns_return_types.
(Fns_list_services): Just return Qnil on 10.6, code not working there.

* nsmenu.m (ns_update_menubar): Remove useless setDelegate call
on svcsMenu.

* nsselect.m (ns_get_local_selection): Change to extern (Bug#8842).

* nsterm.h (MAC_OS_X_VERSION_10_6): Define here instead of nsterm.m.
(ns_get_local_selection): Declare.

* nsterm.m (QUTF8_STRING): Declare.
(initFrameFromEmacs): Call registerServicesMenuSendTypes.
(validRequestorForSendType): Return type is (id).
Change indexOfObjectIdenticalTo to indexOfObject.
Check if we have local selection before returning self (Bug#8842).
(writeSelectionToPasteboard): Put local selection into paste board
if we have a local selection (Bug#8842).
(syms_of_nsterm): DEFSYM QUTF8_STRING.

14 years agoAllow sending mail in "emacs -Q" by not calling customize-save-variable
Lars Magne Ingebrigtsen [Fri, 8 Jul 2011 07:42:21 +0000 (09:42 +0200)]
Allow sending mail in "emacs -Q" by not calling customize-save-variable

* mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.

* mail/sendmail.el (sendmail-query-once): If we aren't allowed to
save customizations (with "emacs -Q"), just set the variable
instead of erroring out.

14 years agoRevert the plstore editing feature.
Daiki Ueno [Fri, 8 Jul 2011 01:29:29 +0000 (10:29 +0900)]
Revert the plstore editing feature.

14 years ago* lisp/arc-mode.el (archive-zip-expunge, archive-zip-update)
Juri Linkov [Fri, 8 Jul 2011 00:08:53 +0000 (03:08 +0300)]
* lisp/arc-mode.el (archive-zip-expunge, archive-zip-update)
(archive-zip-update-case): Use 7z if found by `executable-find'.
The order of searching the available programs is the same as in
`archive-zip-extract'.

14 years agoMerge changes made in Gnus trunk.
Lars Magne Ingebrigtsen [Thu, 7 Jul 2011 23:18:23 +0000 (23:18 +0000)]
Merge changes made in Gnus trunk.

gnus-msg.el (gnus-bug): Don't insert user variables.  It usually isn't very interesting any more, and it leaks potentially secret data.
 (gnus-debug): Removed.
gnus-art.el (gnus-ignored-headers): Removed obsolete and non-working use of :custom-show.

14 years agoTweak last change to menu descriptions.
Chong Yidong [Thu, 7 Jul 2011 22:41:09 +0000 (18:41 -0400)]
Tweak last change to menu descriptions.

* lisp/menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
(menu-bar-options-menu): Tweak descriptions.

14 years agoMake all the Options menu items into verb phrases
Lars Magne Ingebrigtsen [Thu, 7 Jul 2011 21:43:38 +0000 (23:43 +0200)]
Make all the Options menu items into verb phrases

* menu-bar.el (menu-bar-line-wrapping-menu): Also refill to fit under
80 columns.

14 years ago2011-07-07 Tassilo Horn <tassilo@member.fsf.org>
Tassilo Horn [Thu, 7 Jul 2011 20:42:30 +0000 (22:42 +0200)]
2011-07-07  Tassilo Horn  <tassilo@member.fsf.org>

* themes/tsdh-light-theme.el:
* themes/tsdh-dark-theme.el: Make `gnus-button' face inherit from
`button', `gnus-header-name' boxed, and define `rcirc-my-nick'
face.

14 years ago* text.texi (Special Properties): Clarify the format of `face'
Lars Magne Ingebrigtsen [Thu, 7 Jul 2011 20:37:54 +0000 (22:37 +0200)]
* text.texi (Special Properties): Clarify the format of `face'

14 years agoDocument some Info functions (Bug#1084).
Chong Yidong [Thu, 7 Jul 2011 20:35:28 +0000 (16:35 -0400)]
Document some Info functions (Bug#1084).

* lisp/info.el (info, Info-read-node-name-2, Info-read-node-name-1)
(Info-read-node-name): Doc fix.

14 years agoDoc fixes for thingatpt.el.
Chong Yidong [Thu, 7 Jul 2011 18:31:57 +0000 (14:31 -0400)]
Doc fixes for thingatpt.el.

* lisp/thingatpt.el (forward-thing, bounds-of-thing-at-point)
(thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
(end-of-sexp, beginning-of-sexp)
(thing-at-point-bounds-of-list-at-point, forward-whitespace)
(forward-symbol, forward-same-syntax, word-at-point)
(sentence-at-point): Doc fix (Bug#1144).

14 years ago(Info-mode-map): Remove S-TAB binding, since [backtab] should cover it
Lars Magne Ingebrigtsen [Thu, 7 Jul 2011 18:28:25 +0000 (20:28 +0200)]
(Info-mode-map): Remove S-TAB binding, since [backtab] should cover it

14 years ago(describe_map_tree): Don't insert a double newline at the end of the string
Lars Magne Ingebrigtsen [Thu, 7 Jul 2011 17:19:10 +0000 (19:19 +0200)]
(describe_map_tree): Don't insert a double newline at the end of the string

Return whether we inserted something.  This should allow the caller to
decide whether to insert more newlines or not.

14 years agoClarify the `call-interactively' doc string, and add an example.
Lars Magne Ingebrigtsen [Thu, 7 Jul 2011 16:59:26 +0000 (18:59 +0200)]
Clarify the `call-interactively' doc string, and add an example.

14 years agoRemove mention of `require' in ediff.texi
Lars Magne Ingebrigtsen [Thu, 7 Jul 2011 16:38:27 +0000 (18:38 +0200)]
Remove mention of `require' in ediff.texi

That's not pertinent in the installed Emacs.

14 years agoMerge from emacs-23 branch
Chong Yidong [Thu, 7 Jul 2011 16:18:48 +0000 (12:18 -0400)]
Merge from emacs-23 branch

14 years agoMerge from emacs-23 branch
Chong Yidong [Thu, 7 Jul 2011 16:18:25 +0000 (12:18 -0400)]
Merge from emacs-23 branch

14 years agoNote that :custom-show is obsolete.
Lars Magne Ingebrigtsen [Thu, 7 Jul 2011 15:59:00 +0000 (17:59 +0200)]
Note that :custom-show is obsolete.

14 years agoFix bug #9015 with a bogus crash with glyphless characters on a TTY.
Eli Zaretskii [Thu, 7 Jul 2011 15:39:23 +0000 (18:39 +0300)]
Fix bug #9015 with a bogus crash with glyphless characters on a TTY.

 src/term.c (produce_glyphs) <xassert>: Allow IT_GLYPHLESS in it->what.

14 years agoWork around gnutls failures
Lars Magne Ingebrigtsen [Thu, 7 Jul 2011 15:14:17 +0000 (17:14 +0200)]
Work around gnutls failures

* net/network-stream.el (network-stream-open-starttls): If gnutls
negotiation fails, then possibly try again with a non-encrypted
connection.

14 years ago* configure.in (maintainer-mode): Reflect default in help string.
Andreas Schwab [Thu, 7 Jul 2011 15:07:54 +0000 (17:07 +0200)]
* configure.in (maintainer-mode): Reflect default in help string.